import axios from "@/utils/ruquest";

// 1.获取栏目的新闻数据
export const getNewsList = () => {
    return axios({
        url: "/api/getnewslist"
    })
}

// 2.根据文章id获取文章详情数据
export const NewsDetial = (newid) => {
    return axios({
        url: `/api/getnew/${newid}`
    })
}
